package com.jn.mvvm2.entity;

import java.io.Serializable;
import java.util.List;

public class Pet implements Serializable {
    private int error_code;
    private String reason;
    private PetResult result;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public PetResult getResult() {
        return result;
    }

    public void setResult(PetResult result) {
        this.result = result;
    }

    public static class PetResult {
        private List<PetDetails> list;

        public List<PetDetails> getList() {
            return list;
        }

        public void setList(List<PetDetails> list) {
            this.list = list;
        }
    }

    public static class PetDetails implements Serializable {
        private int pettype;
        private String name;
        private String engName;
        private String characters;
        private String nation;
        private String easyOfDisease;
        private String life;
        private String price;
        private String desc;
        private String feature;
        private String characterFeature;
        private String careKnowledge;
        private String feedPoints;
        private String coverURL;
        private String url;

        public int getPettype() {
            return pettype;
        }

        public void setPettype(int pettype) {
            this.pettype = pettype;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEngName() {
            return engName;
        }

        public void setEngName(String engName) {
            this.engName = engName;
        }

        public String getCharacters() {
            return characters;
        }

        public void setCharacters(String characters) {
            this.characters = characters;
        }

        public String getNation() {
            return nation;
        }

        public void setNation(String nation) {
            this.nation = nation;
        }

        public String getEasyOfDisease() {
            return easyOfDisease;
        }

        public void setEasyOfDisease(String easyOfDisease) {
            this.easyOfDisease = easyOfDisease;
        }

        public String getLife() {
            return life;
        }

        public void setLife(String life) {
            this.life = life;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getFeature() {
            return feature;
        }

        public void setFeature(String feature) {
            this.feature = feature;
        }

        public String getCharacterFeature() {
            return characterFeature;
        }

        public void setCharacterFeature(String characterFeature) {
            this.characterFeature = characterFeature;
        }

        public String getCareKnowledge() {
            return careKnowledge;
        }

        public void setCareKnowledge(String careKnowledge) {
            this.careKnowledge = careKnowledge;
        }

        public String getFeedPoints() {
            return feedPoints;
        }

        public void setFeedPoints(String feedPoints) {
            this.feedPoints = feedPoints;
        }

        public String getCoverURL() {
            return coverURL;
        }

        public void setCoverURL(String coverURL) {
            this.coverURL = coverURL;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
